package drg_group.wuhan_2022.MDC;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;

import drg_group.wuhan_2022.Base;
import drg_group.wuhan_2022.MedicalRecord;
import drg_group.wuhan_2022.ADRG.*;

public class MDCJ{
    public static String group(MedicalRecord record){
        String[] mdc_zd={"L67.104","L85.803","C44.602","L02.100","L28.201","A63.001","D28.000x001","I89.800x026","B86.x00x007","S30.200x006","L60.800x015","L74.100","L90.500x067","L90.500x049","L30.202","L90.500x013","B00.100x001","S80.700","D17.100x001","L98.701","L42.x00","L90.500x015","B35.000x001","T09.000x011","L23.300","Z41.100x018","B35.901","L68.100","L63.800","L44.100","Z41.100x021","L08.800x011","D22.700","C43.704","T00.900x003","L60.800x029","B08.100","L08.803","L65.902","S90.300x003","L52.x00","B07.x05","D22.901","R22.402","Z41.100x011","L67.103","L23.002","L89.008","L23.600","Q81.000","L41.801","S50.800x041","S30.100x002","L50.400","Q18.902","L98.800x015","D04.503","A48.000","L08.904","L41.100","L08.100","S50.700","B88.900x003","D17.200x004","L94.301","L01.000x012","C44.705","B08.800x007","S70.700x002","R58.x02","S70.901","L03.001","L81.800x003","L72.102","L65.802","L12.000","S90.800x012","L30.400","B36.000x001","D22.500","I89.800x029","L64.000","L24.202","D23.502","L98.800x007","D86.300","S80.800x012","D23.504","B66.400x001","L89.104","L01.000x013","L40.001","E10.600x023","L90.500x018","L28.000x007","S60.800x043","L90.805","L12.900","Z42.302","L74.300","N62.x00x001","D17.200x002","T14.000x031","B85.300","L23.400","L72.903","D48.515","L24.504","L24.203","Q84.202","M54.003","L98.803","L90.900x001","Q82.501","L73.800x007","C44.706","N60.201","Q83.200","D22.509","N64.501","L81.200","E11.600x970","A51.300x004","S39.910","L03.002","L63.100","L70.802","L10.800x001","D03.503","E05.906","L98.503","L41.000","T79.700","L13.101","L71.000","N62.x00","L89.301","L94.400","L10.200","L23.100","N64.803","L72.000x006","D03.500","S90.800x022","B07.x00x010","B26.800x010","C43.504","D17.900x002","Q84.300","L28.000x006","A32.000","N63.x00","L03.107","L73.800x005","E11.600x024","Z41.100x016","A18.403","L02.900x001","D22.504","L23.901","C43.600","B00.102","L28.002","Q82.800x010","L89.200","A22.000","L24.300","D23.900","D17.200x001","L81.601","T13.000x011","B35.800x004","E10.600x027+L99.8*","L00.x00","C44.701","R21.x02","L89.304","S90.800x043","L60.800x014","Q84.502","Z41.100x005","L41.000x002","L89.201","Q81.800","L92.301","L01.003","L24.200","L56.800","S30.100","L57.200","I89.800x025","A18.404","R22.002","S50.701","S80.900","Q80.100","L90.800","L41.900","N60.200","L89.004","L01.000x011","B74.200x002","Q82.807","S70.800x021","L74.001","L90.500x044","L70.803","L03.101","D05.700","D05.900","Q84.501","L03.304","D23.501","L67.102","B07.x00x011","L90.500x009","L66.900","B07.x03","L30.000","S20.803","Z41.100x023","L98.600","D03.600","Q84.600x002","L24.201","Z42.400x001","N64.100","L29.802","L03.900","D18.000x847","L95.901","T09.000x041","L72.901","L81.404","Q80.900","L95.800x004","I89.000x013","L13.800","L72.800x003","A28.100","L88.x00","L90.500x057","L89.300","S40.800x022","Q85.900x049","N60.000x001","L90.902","L60.800x018","Q82.800x011","L81.702","L28.001","M79.804","C44.503","L94.500","A51.304","C44.604","T00.100x001","T00.600x001","D48.500x004","L56.200","L90.500x037","L24.501","D04.500","I97.200","Z41.100x003","L87.001","D22.900","L27.000x004","T13.000x041","Q84.602","L90.400","L98.800x023","L85.100","T00.800x001","C50.000","Z41.100x008","B88.000x004+L99.8*","E10.600x021","L67.105","L90.500x054","L74.200","L23.700","A42.802","L90.500x048","S90.301","D48.514","Q83.802","Q84.600x001","L24.400","D24.x02","L21.100","L25.500","S30.800x001","D17.300x005","B35.100x002","L03.306","Q84.201","T14.000x003","D18.000x018","B48.000","B07.x01","B40.302+L99.8*","L65.800x004","C79.200x006","L59.801","L90.502","L08.903","L90.500x026","L02.200x004","T09.000x031","B00.100","B37.900x002","B88.000x002","L30.204","L92.302","Q82.800x018","Q84.601","D03.700x001","N64.900","D48.500x007","L91.801","M34.200","L03.302","D22.507","E14.600x970","T09.000","Q80.300","Z41.100x006","C44.707","C43.605","S60.800x041","B69.800x004","L53.200","D22.702","N61.x00x004","D04.700x001","L70.001","D22.502","D22.500x008","E10.603+L99.8*","L28.100","L90.804","L58.000","L72.106","L90.500x028","L11.900","D23.401","L02.900x006","C79.200x005","D23.500","D22.505","L70.203","C44.500","L89.205","T85.401","L56.000","L10.800","S30.100x007","B35.801","L53.900","L29.801","B35.003","A44.100","L72.105","L85.900","L74.400","L90.500x063","B00.101","S80.101","B74.100x002","L60.803","L24.601","L08.000x010","B85.200","L89.000","L98.700x001","L11.000","L90.500x039","L43.901","L98.800x012","L70.200","L91.001","T00.200x001","T13.000x031","L98.800x018","A31.101","S60.800x011","L08.000x008","S30.800x002","Z42.204","L50.802","L92.903","L24.800x001","C50.802","S70.700x001","L28.003","R22.302","L70.201","B37.200x003","L30.900","S90.800x041","L89.100","L73.800","B44.800x002","B87.900","L08.909","L08.000x007","D23.500x006","Z42.801","L89.105","L65.200","L23.200","L03.303","L21.002","L75.000","B35.300","L55.000","L81.703","L05.000x001","S30.800x004","L90.500x052","D17.200x003","L60.100","L60.800x027","L03.000x015","B35.002","L27.002","S90.800x011","S90.800x042","N62.x00x007","D04.701","L02.903","R22.005","S31.002","Q85.900x024","R23.800x001","L93.100","C44.600","R22.200x002","Q85.900x025","L01.100","L98.101","S40.800x012","E11.600x021","L12.100","L98.800x013","S80.800x013","L12.202","L92.300","L70.005","L98.800x016","L51.900","M79.400","L57.800x006","E16.300x003+L54.8*","B35.001","T01.301","L60.301","Q18.301","L70.900","M34.000","S80.800x033","L67.000","A18.400x010","B85.000","L57.802","C50.500","R23.401","L40.101","S60.800x042","D22.900x021","R22.100x001","L81.401","L94.300","Q83.100","B86.x00x004","L08.800x008","M79.801","L50.801","L70.300","L85.300","S50.800x031","L63.200","L28.203","S70.800x031","L08.000x006","M79.805","L13.900","E10.600x028","L74.801","D48.500x002","L58.900","L60.800x016","M79.806","L72.900x001","L57.801","L40.103","R22.006","D48.500x009","L66.800","L81.701","L90.401","L81.700x002","L60.400","R23.801","D22.506","C43.601","N64.200","A51.300x003","S60.901","D48.601","C50.100","L02.300","L01.008","L98.804","Z41.105","S70.800x041","S20.202","Z41.100x019","T14.002","Q80.800","L90.500x072","Q84.600x003","Q80.200x002","L64.801","L65.903","L27.800","L98.800x022","D48.516","L03.106","Q84.500","C50.600","D22.900x002","L89.108","E10.600x024","Z42.401","L03.105","A31.100x002","B40.301+L99.8*","L56.900","L80.x00","S20.802","T14.000","Q82.504","S80.800x022","S20.101","D04.502","L74.900","L95.802","L82.x02","L30.203","Z42.800x002","Z42.402","L90.500x033","S30.900x001","L90.501","L68.200","N61.x00x013","B36.901","L90.500x043","L67.100","A31.100","L56.400","B88.900x001","L57.001","L60.800x030","L92.000","Q82.505","B43.200","L72.000","Q82.800x006","L55.900","S90.800x023","E14.600x022","L60.800x020","L30.800","L90.500x064","L43.902","L60.800x013","L68.000","C50.300","D48.500x005","E11.600x027+L99.8*","D48.600x001","S21.000","L60.800x026","L90.503","I89.800x024","L60.800x031","C44.509","Z42.202","D17.100x002","L91.002","L40.801","A18.400x021","L90.000","L23.503","M31.000x005","L25.201","D04.800","B40.300","D48.506","L90.500x055","L98.001","S30.003","L94.200","L90.500x046","S70.900x001","D17.301","T09.000x051","L08.805","L02.900x002","L30.905","E14.600x023","S20.200x003","B78.100x001+L99.8*","C44.603","S70.900x002","Q82.808","L75.900","L27.003","Z42.303","L68.900","D17.000x004","Q82.800x003","I89.000x004","L30.903","L73.802","B08.200x002","L40.802","S90.800x013","S70.800x011","S60.202","L02.801","L43.000","L73.805","L02.200x010","L81.500","L05.900","S60.800x022","Q82.200","L44.400","L98.200","A06.700","L08.906","M54.002","L58.101","Q82.810","D03.601","L23.501","L30.500x003","D18.005","E11.600x025","A18.410","Q83.803","C43.602","S70.800x022","L65.801","B88.000x006+L99.8*","L02.201","D48.504","D03.701","S30.000x001","L89.107","L08.900x028","L08.002","L60.800x033","L53.801","I89.000x017","B35.800x002","N60.801","L05.901","L60.800x019","L65.800x005","M79.811","L93.200","I89.100x002","D18.000x812","E10.600x026","D23.505","L60.800x005","A30.100x003","L51.200","L44.300","L90.500x032","L60.800x025","L40.102","C43.701","L90.500x006","Q82.201","L08.900","L10.500","L60.800x034","E50.800x002+L86*","L81.000","C50.804","L03.300","S20.301","L90.803","S90.000","L72.905","B38.300","L73.100","L53.100","L02.901","D03.800","L22.x01","B07.x00x009","Q82.806","B47.000","M79.807","L66.400","B72.x00","L89.103","D03.900x002","D17.200x005","L08.000x001","L40.400","B37.204","D22.601","L20.803","L02.206","R22.700x001","S39.911","Z41.100x015","C43.604","L30.100","L53.300","R22.902","B86.x00x003","L24.500","L02.902","Q85.900x009","S20.000","L01.001","S60.201","S70.800x042","L43.300","T00.902","Q80.200","L12.102+H13.3*","L50.803","L03.305","L57.300","N61.x00x014","D23.503","L81.800x005","T00.901","D03.502","S40.001","L41.300","R22.200x001","L72.200","Z42.800x001","D18.007","L65.800x003","D04.501","L72.902","L10.900","D05.000","Q85.900x028","L22.x00","R22.901","Q80.800x001","L27.005","S80.800x023","T11.000x051","L90.500x059","L02.200x009","D48.508","L27.801","L75.800","Q82.800x001","L90.500x010","L90.500x024","L95.900x001","N64.300x001","L60.800x004","D22.511","L59.900","B65.300","Q83.100x002","L70.801","L27.900","Q82.801","S40.800x021","D04.601","N90.800x025","L89.208","L85.801","L92.200","L25.300","B35.600x002","L72.900x002","S90.700","S50.800x081","D24.x00","Z42.203","Q82.400","L90.505","L98.400","S50.000","Z41.104","D22.602","L82.x00","L95.800","L72.103","A43.100","L24.600","Z42.201","D48.501","L25.900","S60.900x002","L55.200","T00.900x004","C44.700","L40.000","N64.001","L03.004","B35.100","N61.x05","L60.800x022","E50.801+L86*","L50.100","S40.800x031","M79.809","D17.900x001","L89.900","S30.100x004","L23.001","R22.207","S40.000x002","Q82.502","L90.500x061","S70.800x012","D03.600x002","R22.202","R22.904","L04.800","L83.x02","L65.901","D23.700x001","L23.801","L08.804","L60.800x023","L89.306","Q83.300","S60.902","A60.100x002","A42.800x002","L57.100","S90.100","Z41.100x010","N61.x04","A18.400x001","T00.000x001","L60.800x010","L26.x01","L73.803","L30.901","L84.x00x002","T14.001","B86.x00x005","L81.600","L27.101","S30.104","S80.800x041","S60.700","L67.800","B74.900x003","L12.300","N64.400","L90.500x066","D17.300x002","L26.x00","C43.503","N64.802","Q84.400","A51.300x002","S40.800x041","L90.500x042","L98.800x001","S20.801","I89.000x026","N60.300","D24.x01","L44.800","Q83.000","E51.100x005+I98.8*","D22.510","B36.000x003","B72.x00x001","D23.601","L10.000","L03.000","N64.804","N64.805","C44.703","L53.901","C50.800","D23.600x002","Z41.000","L92.901","E10.600x025","Z42.403","R22.300x002","L02.802","Q84.200","B43.000","L90.500x008","N61.x07","N60.100","L12.103+H13.3*","L40.200","L08.908","L28.000","L95.100","L24.900","A51.302","B45.200","R22.204","Z42.205","Q85.900","L60.900","C79.200x007","L81.300","B09.x00x002","D17.300x004","D48.505","L72.800x001","L98.800x026","L89.204","A18.400x006","L24.503","L60.300","L68.300","Z41.100x009","L25.000","B35.000","L89.007","Q84.000","D48.513","L27.200","L02.202","D48.502","L90.500x017","I89.800x012","T85.400","D48.503","L02.804","A18.400x022","N64.502","L60.000","L40.100","D23.506","L90.500x014","L75.200","R22.203","D18.000x851","A18.407","N60.000","B26.800x004","S60.800x023","L98.800x014","Z42.301","L90.500x058","L23.504","S40.000x003","Q83.100x001","Q84.801","T00.900","A51.303","L90.500x041","N60.202","R23.800x002","L81.403","L30.902","T00.900x007","L08.001","L03.103","L10.300","L08.801","L81.402","S60.801","L90.500x045","A18.400x013","C44.508","L93.202","S30.002","L90.500x036","L27.004","L85.200","C50.900","Q81.200","L12.101","T13.000x051","L89.302","L12.200","A51.300x005","L40.300","M54.001","L81.802","D03.700x002","Q80.000","S30.900x002","L90.901","C79.800x831","L98.800x020","Q85.915","S80.000","D23.500x010","Q82.800x019","T14.003","L03.003","L89.303","L30.301","C43.505","R21.x00x001","D23.602","L50.300","E14.600x026","Q83.800x004","S30.000x003","Q83.900","T81.800x009","L60.500","L67.900","D03.900","D03.500x002","Q82.802","L20.900","C79.200","C50.800x005","D18.000x816","L81.400","L90.801","L08.802","A18.313+K93.0*","L40.301","L24.502","L89.101","T00.900x002","L90.500x062","L90.500x071","S50.901","R23.400x003","C44.504","S60.800x033","L98.300","L44.200","Q82.508","L60.800x009","A18.400x014","L60.801","L67.101","L10.100","L28.202","L73.200","Z41.100x022","S60.800x021","L55.800","B37.900x003","B69.805","L02.402","L70.500","L21.800","L21.901","N60.000x002","L89.307","L24.205","L90.500x021","R22.200x004","L89.001","C44.501","L85.900x001","M79.802","S40.700","L01.005","L64.900","D48.509","L66.300","B08.800x004","L08.003","L50.201","S50.900","L30.801","S90.900x003","I89.800x020","C43.900x003","I89.800x028","L95.900","L72.000x010","Q82.507","T00.900x006","L81.801","R60.900x004","L24.000","R22.000x004","L85.800","D23.700x002","L70.400","L89.102","L60.800x008","B07.x00x006","Z41.100x007","Q82.503","L23.500","C43.707","L82.x01","C44.502","S70.800x032","L75.201","L72.904","R22.205","S80.800x043","D17.500x011","S70.900x003","N63.x01","L21.001","D23.500x003","R22.000x005","L01.004","L43.100","B35.200","D04.600x001","B88.800x004","R22.400x003","A63.000","L90.600","D03.501","L81.800","L90.500x038","B37.201","L72.100","L90.500x007","S40.900","B35.500","L66.200","R21.x00x003","B85.100","L90.500x020","E14.600x021","L95.000","L98.801","B88.001+L99.8*","L10.800x002","D22.900x003","T00.300x001","M34.803","D22.503","R58.x00x004","L03.104","L27.201","N61.x03","L90.500x031","L20.000","S20.201","S60.000x001","S60.800x032","L08.905","Q81.100","L12.201","L98.800x017","R22.300x001","B47.900","N62.x02","T11.000","S40.000x001","C44.900","L57.800x004","L90.500x027","M79.401","S90.900x002","L90.200","L02.200","M79.404","E14.600x028","L71.800","M35.600","L89.005","L13.000","S20.400x001","L08.907","A20.100","L90.500x056","T11.000x031","L08.910","B37.900x001","B07.x00x008","L44.900","B55.200","L24.801","L60.802","L81.400x001","L20.806","L85.804","B07.x04","L81.900","B88.300","C50.000x001","L40.900","D03.504","L73.900","L60.800x024","D22.508","A54.809","C43.507","L72.000x011","L30.803","S30.801","A31.102","D22.600","L20.804","L10.801","N64.503","M79.803","C46.000","B00.000","T11.000x041","L90.300","D48.507","C79.205","L02.203","L56.401","D17.300x001","N64.002","S30.001","S80.100x002","C44.605","B37.203","I80.802","T14.101","L90.500x023","L60.800x017","L21.000","S90.200","L93.001","C44.601","T13.000","L84.x00x001","B35.400","C50.902","S20.200","Q82.000","L60.800x006","L81.407","C44.800","I89.002","L89.305","L90.500x074","L70.900x002","L10.400","T09.000x021","L92.800","L70.002","L98.000","D48.511","S20.800x002","S80.800x032","L67.106","L30.400x004","R23.400x001","L40.500","T11.000x021","D23.400x003","D23.600x001","R21.x01","S30.900x003","B76.900x003","L72.101","L29.800","L02.205","E11.600x026","L30.804","L58.100","Q84.800x012","S90.800x032","L87.900","L30.201","C43.706","C43.800","L98.800x027","S20.700","L90.504","L03.109","L50.900","M79.403","S20.300x001","Z52.100","L89.002","L27.000x006","L98.800","L89.003","S80.901","L44.000","L75.100","B87.000x001+L99.8*","L57.803","L41.500","L93.201","D17.101","S70.000","L43.800","D48.500x008","L91.800","L90.500x012","L25.100","L70.000","Q82.100","T11.001","L29.000","C50.901","S60.800x012","D18.000x849","D48.517","L66.100","T14.000x021","N90.800x024","L03.800","I89.800x014","L98.800x021","S80.800x031","B35.800x003","A18.811","E14.600x027+L99.8*","Z41.100x024","L08.901","D48.500x003","L98.802","N62.x00x004","L90.100","B36.300x002","L51.000","Q84.600x004","I89.000x015","L43.301","C43.600x002","R22.000x003","E14.600x024","D22.501","B35.600","Z42.100x001","T14.000x011","D17.100x003","L90.500x011","R92.x00","L59.000","R22.100x002","B36.200x001","L63.900","N64.801","L94.000","B86.x00x006","C43.502","L89.202","B46.300x001+L99.8*","L83.x01","L60.800x032","B00.001","C43.501","L40.800","L60.800x021","L11.800","B87.100","L05.000","L89.203","L94.600","L60.200","C44.507","N60.900","L28.200","L08.902","L24.800","B00.100x005","C79.806","N61.x06","L53.800","B00.804+L99.8*","D18.000x848","L24.100","L02.803","L92.801","L57.900","L93.000","S50.101","S50.800x011","L73.804","N61.x01","Q82.804","L40.003","S90.300x002","I89.800x022","C43.500","C44.901","I89.800x030","S70.100","L98.800x011","I89.800x015","L20.801","A18.400x020","Z42.200x003","L24.206","Z41.100x013","D48.500x006","C50.001","L85.000","B08.300","S90.800x033","L90.500x034","A36.300","L56.300","D18.008","C43.506","A18.412","L50.202","L51.802","E11.600x023","D18.000x010","S31.001","L90.500x019","Q82.805","Z42.304","D48.500x011","L08.911","L73.800x006","L02.403","B36.200","L30.300","L57.000","L73.801","Q80.400","S60.800x031","C43.603","L60.800x007","S60.701","Z41.100x012","Q85.900x026","D18.000x828","Z41.100x004","L70.202","N64.200x001","C43.705","L50.600","E11.600x028","L25.800","L72.800x004","Z41.100x020","L25.400","R22.903","E11.603+L99.8*","C79.200x001","Q82.500x005","R21.x00x004","A66.300","B86.x00","L87.800","T13.000x021","L12.800","C43.703","L83.x00","B36.300","L90.500x035","L90.500x053","Q81.900","B88.000x003","L60.800x012","L30.904","C43.702","D48.500x012","T11.101","C50.400","C50.801","L98.900x002","A18.406","L72.000x007","N60.400","L90.500x040","L03.801","S80.800x011","L60.201","L40.002","B36.100","L65.100","M34.100","B00.100x004+H62.1*","L94.900","D17.500x010","L13.100","B88.100","A18.401","L03.301","B08.200","L90.500x047","D23.701","L81.405","S40.800x032","Q82.300","L98.702","S30.000x004","L98.800x010","A18.411","N60.100x003","S80.800x021","L57.800x005","B88.900x002","N61.x02","C44.606","B02.900x001","L98.401","C43.508","C44.704","L90.500x016","C50.200","L90.500x022","L53.101","L91.900","R22.003","L89.308","T00.900x005","B00.801+L99.8*","L98.502","S50.800x021","A18.405","N64.504","L92.100","B74.000x002","A18.408","E10.600x970","L90.500x073","L02.800","B47.100x001","L20.802","A18.402","D05.100","Z41.100x017","L89.006","L71.900","L81.803","D04.900x001","L57.500","L90.500x051","L65.904","I89.800x027","L68.800","L71.100","D48.510","L03.108","R22.004","L50.200","L23.000","Z41.100x014","Q83.800x005","L65.000","L23.900","S80.800x042","S30.100x001","L03.802","Q82.809","N62.x01","Z42.200x001","L72.900x003","D18.000x850","C43.901","A18.409","L95.801","L53.000","Z42.300x001","C43.606","L90.500x060","L84.x01","Q83.801","B74.100x001","L08.800x006","L60.800x028","B37.205","N60.100x002","I89.900","D48.500x014","Q85.900x022","L56.100","I89.009","D22.701","L02.401","L23.101","L50.000","S60.100x001","L08.800x005","S30.800x003","S60.900","L27.100","D03.602","L74.000","D18.000x852","L25.200","C50.803","L70.004","L89.207","L41.400","A42.200","L90.500x030","L98.501","A26.000","C79.204","A20.101","I89.800x013","L90.500x025","D48.500x010","L98.500","A46.x00","B55.100x001","L24.901","L94.800","L73.000","L29.900","L57.400","S40.701","L30.500","S40.800x011","L11.100","L70.100","E14.600x025","L90.500x050","S40.800x042","L72.104","Q82.800x004","L94.100","L51.100","L66.000","L60.800x011","L01.002","S30.700","L21.900","C50.900x005","B37.202","L24.204","Q82.803","L55.100","S30.200x005","Z41.100x002","B09.x01","D48.512","L63.000","R22.700x002","C44.702","D86.300x002","S90.300x001","D04.504","R22.206","L08.000x009","L43.200","E83.201","R22.400x002","Q82.506","Z42.200x002","L81.100","S90.800x031","L24.700","C43.700x001","T14.000x041","L90.500x065","N60.101","L30.802","C44.505","L89.106","A51.301","L93.200x003","L89.206","S90.800x021","C43.900","L23.502","S90.901","B41.800x002","L08.000x005","L50.500","L87.200","L03.200","T01.800x001","L13.901","L90.500x029","C44.506","S30.101","D22.900x017","L70.003","L24.800x002","L97.x00"};
        String[] dept_list={};
        if (!(true && Base.contains(mdc_zd,record.zdList[0]))){
            return "";
        }
        
        Base.groupMessages.putMessage(record.Index,"符合MDCJ入组条件，匹配规则：主诊断匹配");
        String result;

        result=JA1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JA2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JB1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JB2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JB3.group(record);
        if (result.length()>0){
            return result;
        }

        result=JC1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JD1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JD2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JJ1.group(record);
        if (result.length()>0){
            return result;
        }

        if (false && record.ssList!=null && record.ssList.length>0  && Base.intersect(Base.SS_VALID,record.ssList)){
            Base.groupMessages.putMessage(record.Index,"符合JQY入组条件，存在有效手术操作："+String.join(",",Base.Intersect(record.ssList,Base.SS_VALID)));
            return "JQY";
        }

        result=JR1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JR2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JS1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JS2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JT1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JU1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JV1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JV2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JZ1.group(record);
        if (result.length()>0){
            return result;
        }

        Base.groupMessages.putMessage(record.Index,"不符合MDCJ的ADRG入组条件");
        return "";
    }
}

